﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admini/MasterDetail.Master" AutoEventWireup="true" CodeBehind="SchoolZYDetail.aspx.cs" Inherits="ART.Admini.Setting.SchoolZYDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" runat="server">
    <div id="h_main">
        <span class="red">◆</span> 表示必填字段</div>
    <div id="h_operate" style="padding-top: 5px;">
        <table border="0" cellpadding="0" cellspacing="1" bgcolor="#ffffff" width="100%">
            <tr>
                <td class="td_title">
                    <span class="red">◆</span> 专业名称：</td>
                <td class="td_content">
                    <asp:TextBox ID="txtSubobjectName" runat="server" MaxLength="25"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator1" runat="server" ErrorMessage="专业名称不能为空!" ControlToValidate="txtSubobjectName"
                        ValidationGroup="add" Display="None"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="td_title">
                    上级专业：</td>
                <td class="td_content">
                    <asp:DropDownList ID="dropParentId" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="td_title">
                    <span class="red">◆</span> 排序：</td>
                <td class="td_content">
                    <asp:TextBox ID="txtSort" runat="server" onkeypress="isNum()" Width="60px">0</asp:TextBox>
                    <span>填写数字</span><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                        ErrorMessage="排序不能为空!" ControlToValidate="txtSort" ValidationGroup="add" Display="None"></asp:RequiredFieldValidator><asp:RangeValidator
                            ID="RangeValidator1" runat="server" ControlToValidate="txtSort" Display="None"
                            ErrorMessage="请正确填写排序!" MaximumValue="100000" MinimumValue="0" Type="Integer"
                            ValidationGroup="add"></asp:RangeValidator></td>
            </tr>
          <tr>
                <td class="td_title">
                    <span class="red">◆</span>学校名称：
                    </td><td class="td_content">
                   <asp:TextBox ID="txtSchoolName" runat="server" ReadOnly="True"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="学校名称不能为空!"
                        ControlToValidate="txtSchoolName" ValidationGroup="add" Display="None"></asp:RequiredFieldValidator>
                    <asp:HiddenField ID="hidSchoolId" runat="Server" Value="0" />
                </td>
                </tr>
        </table>
    </div>
    <div id="h_bottom">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <contenttemplate>
        <asp:Button ID="btnSave" OnClick="btnSave_Click" runat="server" Text="保 存" ValidationGroup="add">
        </asp:Button>
        &nbsp;
        <input id="Button1" type="button" value="关 闭" onclick="closeDlg()" class="btn" /><asp:ValidationSummary
            ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false"
            ValidationGroup="add" />
        </contenttemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
